/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.personnel.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fuyao.cloud.common.core.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 招标表
 *
 * @author hyc
 * @date 2022-05-20 10:52:12
 */
@Data
@TableName("fy_tender_supervision")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "招标表")
public class TenderSupervision extends BaseEntity<TenderSupervision> {

    private static final long serialVersionUID = 1L;

    // 招标方式
    public static final String TENDER_METHOD = "tender_method";
    // 评标原则
    public static final String EVALUATION_PRINCIPLE = "evaluation_principle";
    // 招标类型
    public static final String TENDER_TYPE = "tender_type";

    /**
     * 唯一编码（用于关联附件）
     */
    @ApiModelProperty(value="唯一编码（用于关联附件）")
    private String unid;

    /**
     * 编号
     */
    @ApiModelProperty(value="编号")
    private String number;

    /**
     * 监督人
     */
    @ApiModelProperty(value="监督人")
    private String supervisionPerson;

    /**
     * 监督人id
     */
    @ApiModelProperty(value="监督人id")
    private Long supervisionPersonId;

    /**
     * 招标时间
     */
    @ApiModelProperty(value="招标时间")
    private LocalDate tenderTime;

    /**
     * 招标地点
     */
    @ApiModelProperty(value="招标地点")
    private String tenderPlace;

    /**
     * 项目名称
     */
    @ApiModelProperty(value="项目名称")
    private String projectName;

    /**
     * 参与者(用;隔开)
     */
    @ApiModelProperty(value="参与者(用;隔开)")
    private String participants;

    /**
     * 参与者ID
     */
    @ApiModelProperty(value="参与者ID")
    private String participantsId;

    /**
     * 项目单位(组织招标单位)
     */
    @ApiModelProperty(value="项目单位(组织招标单位)")
    private Long projectUnitId;

    /**
     * 项目单位(组织招标单位)
     */
    @ApiModelProperty(value="项目单位(组织招标单位)")
    private String projectUnit;

    /**
     * 项目负责人Id
     */
    @ApiModelProperty(value="项目负责人Id")
    private Long projectLeaderId;

    /**
     * 项目负责人
     */
    @ApiModelProperty(value="项目负责人")
    private String projectLeader;

    /**
     * 经办人Id
     */
    @ApiModelProperty(value="经办人Id")
    private Long agentId;


    /**
     * 经办人
     */
    @ApiModelProperty(value="经办人")
    private String agent;

    /**
     * 招标方式;0:国内，1:国外，2:邀请招标，3:内部询价，4:竞争性谈判，5:单一来源采购
     */
    @ApiModelProperty(value="招标方式;0:国内，1:国外，2:邀请招标，3:内部询价，4:竞争性谈判，5:单一来源采购")
    private String tenderMethod;

    /**
     * 开标情况
     */
    @ApiModelProperty(value="开标情况")
    private String tenderSituation;

    /**
     * 评标原则;0:低价中标，1:综合评方法，2:其他
     */
    @ApiModelProperty(value="评标原则;0:低价中标，1:综合评方法，2:其他")
    private String evaluationPrinciple;

    /**
     * 评标结果
     */
    @ApiModelProperty(value="评标结果")
    private String evaluationResults;

    /**
     * 项目预算金额
     */
    @ApiModelProperty(value="项目预算金额")
    private BigDecimal projectBudgetAmount;

    /**
     * 代理机构
     */
    @ApiModelProperty(value="代理机构")
    private String agency;

    /**
     * 组织单位Id
     */
    @ApiModelProperty(value="组织单位Id")
    private Long organizationalUnitId;

    /**
     * 组织单位
     */
    @ApiModelProperty(value="组织单位")
    private String organizationalUnit;

    /**
     * 招标类型;0：公开招标，1：非公开招标
     */
    @ApiModelProperty(value="招标类型;0：公开招标，1：非公开招标")
    private String tenderType;

    /**
     * 备注
     */
    @ApiModelProperty(value="备注")
    private String remarks;

}
